/**
 * 账户信息
 */
var mongoose = require('mongoose'),
    Schema = mongoose.Schema,
    ObjectId = Schema.ObjectId;

var _UserComment = new Schema({
    articleId: {type: ObjectId},    // 文章ID
    userId: {type: ObjectId},       // 评论人ID
    commentContent: {type: String}, // 评论内容
    commentDt: {type: String},      // 提交时间
    checkType: {type: Number},      // 审核状态
    checkOpinion: {type: String},   // 审核意见
    checkId: {type: ObjectId},      // 审核人ID
    checkDt: {type: Date},          // 审核时间
    createDt: {type: Date},         // 创建时间
    updateDt: {type: Date}          // 更新时间
});

mongoose.model('user_comment', _UserComment);